<layout name="layout" />


<script type="text/javascript">

	var myTimeSelector = {'schedule' : '2312321321'};
	
	var mybar = new appBar({
		btns : [
			{ 
				id : 'savebtn' , 
				name : '保存修改', 
				icon : 'save.png' , 
				onclick : function(appbar){
							var $this = $(this);
							$this.find('img').attr('src' , '/Img/preloader.gif');
							var data = null;
							data = myTimeSelector;
							wt.post( '/setting/app' , data , function(r){
								$this.find('img').attr('src' , '/Img/save.png');
								appbar.hide();
							} );
						} , 
				ondisable : function(){} 
			} 
		]
	});
	mybar.show();
</script>